package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfWxShareDao;
import com.wfcm.entity.WfWxShareEntity;
import com.wfcm.service.WfWxShareService;



@Service("wfWxShareService")
public class WfWxShareServiceImpl implements WfWxShareService {
	@Autowired
	private WfWxShareDao wfWxShareDao;
	
	@Override
	public WfWxShareEntity queryObject(Integer id){
		return wfWxShareDao.queryObject(id);
	}
	
	@Override
	public List<WfWxShareEntity> queryList(Map<String, Object> map){
		return wfWxShareDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfWxShareDao.queryTotal(map);
	}
	
	@Override
	public void save(WfWxShareEntity wfWxShare){
		wfWxShareDao.save(wfWxShare);
	}
	
	@Override
	public void update(WfWxShareEntity wfWxShare){
		wfWxShareDao.update(wfWxShare);
	}
	
	@Override
	public void delete(Integer id){
		wfWxShareDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfWxShareDao.deleteBatch(ids);
	}
	
}
